MoveTo Method (Message Object) 

The MoveTo method relocates this Message object to another folder.

Syntax

Set objMovedMessage = objMessage.MoveTo(folderID [, storeID ] )

Parameters

objMovedMessage

On successful return, contains the moved Message object.

objMessage

Required. This Message object.

folderID

Required. String. The unique identifier of the destination FolderKM47H0 object in which this message is to appear.

storeID

Optional. String. The unique identifier of the InfoStore14IU0EN object in which the message is to appear, if different from this current InfoStore.

 

Remarks

All properties that have been set on this message are moved, whether they have read-only or read/write access. Each property is moved with its value and access unchanged.

The move operation takes effect immediately. This Message object is no longer accessible at its former location once the MoveTo method returns.